<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{
            width: 150px;
            height: 300px;
            background-color: turquoise;
            transition: all 3s;
            margin-left: 30px;
        }
        div:hover{
            transform: translateX(500px);
            box-shadow: 0 0 3px 4px rgba(98, 98, 98, 0.5);
            background-color: violet;
        }
    </style>
</head>
<body>
    <div>

    </div>
</body>
</html>